//: Playground - noun: a place where people can play

import Cocoa

var str = "Hello, playground"

CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.GB_18030_2000.rawValue))

let a = CFStringEncodings.GB_18030_2000
a.rawValue
CFStringEncoding(a.rawValue)
CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(a.rawValue))
//CFStringConvertEncodingToNSStringEncoding(a.rawValue)


var startDate = NSDate()
var endDate = NSDate()

endDate.timeIntervalSinceDate(startDate)